package com.caissa.springboot.starter.es.config;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 *
 * </p>
 *
 * @author dsk
 * @since 2020/9/23 19:54
 */
@Configuration
@ConfigurationProperties(prefix = "spring.data.elasticsearch.client.reactive")
@Slf4j
@Data
public class ElasticsearchConfig {
    private String endpoints;
    private Long connectionTimeout;
    private Long socketTimeout;
    private String username;
    private String password;
}
